package com.scenery.vo;

import android.os.Parcel;
import android.os.Parcelable;
/***
 * 城市
 * **/
public class City implements Parcelable{
	private String id="";
	private String name="";
	private String enName="";
	private String prefixLetter="";
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getEnName() {
		return enName;
	}
	public void setEnName(String enName) {
		this.enName = enName;
	}
	public String getPrefixLetter() {
		return prefixLetter;
	}
	public void setPrefixLetter(String prefixLetter) {
		this.prefixLetter = prefixLetter;
	}
	@Override
	public int describeContents() {
		// TODO Auto-generated method stub
		return 0;
	}public City(){}
	public City(Parcel in){
		id=in.readString();
		name=in.readString();
		enName=in.readString();
		prefixLetter=in.readString();
	}
	public static final Parcelable.Creator<City> CREATOR = new Parcelable.Creator<City>() {
		public City createFromParcel(Parcel in) {
			return new City(in);
		}

		public City[] newArray(int size) {
			return new City[size];
		}
	};
	@Override
	public void writeToParcel(Parcel dest, int flags) {
		// TODO Auto-generated method stub
		dest.writeString(id);
		dest.writeString(name);
		dest.writeString(enName);
		dest.writeString(prefixLetter);
		
	}
	
}
